package com.yst.suivi.data.team;

import java.util.ArrayList;

public class TeamDto
{
	private String mId;

	private String mNom;

	private ArrayList mLstRoles;

	/**
	 * 
	 */
	public TeamDto()
	{
		mLstRoles = new ArrayList();
	}

	/**
	 * @return the nom
	 */
	public String getNom()
	{
		return mNom;
	}

	/**
	 * @param nom
	 *            the nom to set
	 */
	public void setNom(String nom)
	{
		this.mNom = nom;
	}

	/**
	 * @return the lstRoles
	 */
	public ArrayList getLstRoles()
	{
		return mLstRoles;
	}

	/**
	 * @param o
	 * @return
	 * @see java.util.ArrayList#add(java.lang.Object)
	 */
	public boolean add(TeamRoleDto o)
	{
		return mLstRoles.add(o);
	}

	/**
	 * @param o
	 * @return
	 * @see java.util.AbstractCollection#remove(java.lang.Object)
	 */
	public boolean remove(TeamRoleDto o)
	{
		return mLstRoles.remove(o);
	}

	/**
	 * @return the id
	 */
	public String getId()
	{
		return mId;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(String id)
	{
		this.mId = id;
	}
}
